package io;

import java.io.*;

public class OSWDemo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("osw.txt");
        OutputStreamWriter osw=new OutputStreamWriter(fos);
        osw.write("如果天突然下起了雨我不会躲避");
        osw.write("以为我知道会有一个人守护着我");
        System.out.println("写出完毕！");
        osw.close();
    }
}
